package id.co.rho.scoring.cid.client.widgets;

import com.extjs.gxt.ui.client.widget.form.FormPanel;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Hidden;

public class FormPanelExportToWord extends FormPanel {
	Hidden contentHidden;
	Hidden dateHidden;
	Hidden corpIdHidden;
	Hidden rationalIdHidden;
	
	public FormPanelExportToWord(){
		super();
		setAction(GWT.getModuleBaseURL() + "exportWord");
        setMethod(Method.POST);
        contentHidden = new Hidden("content");
        dateHidden = new Hidden("date");
        corpIdHidden = new Hidden("corpId");
        rationalIdHidden = new Hidden("rationalId");
        add(contentHidden);
        add(dateHidden);
        add(corpIdHidden);
        add(rationalIdHidden);
	}

	public Hidden getContentHidden() {
		return contentHidden;
	}

	public void setContentHidden(Hidden contentHidden) {
		this.contentHidden = contentHidden;
	}

	public Hidden getDateHidden() {
		return dateHidden;
	}

	public void setDateHidden(Hidden dateHidden) {
		this.dateHidden = dateHidden;
	}

	public Hidden getCorpIdHidden() {
		return corpIdHidden;
	}

	public void setCorpIdHidden(Hidden corpIdHidden) {
		this.corpIdHidden = corpIdHidden;
	}

	public Hidden getRationalIdHidden() {
		return rationalIdHidden;
	}

	public void setRationalIdHidden(Hidden rationalIdHidden) {
		this.rationalIdHidden = rationalIdHidden;
	}

	
	
}
